package com.jz.subclass.service;

import com.jz.legalplantclass.entity.LegalPlantClassAddVo;
import com.jz.planclass.model.PlanClassUpdateVo;
import com.jz.subclass.model.SubClassAddVo;
import com.jz.subclass.model.SubClassSelectVo;
import com.jz.subclass.model.SubClassUpdateStatusVo;
import com.jz.subclass.model.SubClassUpdateVo;
import com.jz.util.ResultVo;

import javax.validation.Valid;

/**
 * Created by WISE on 2021/12/26.
 */
public interface SubClassService {
    //1.首页分页展示小类
    ResultVo firstPage(SubClassSelectVo subClassSelectVo);

    ResultVo addSubClass(@Valid SubClassAddVo subClassAddVO);

    ResultVo queryById(Integer id);

    ResultVo updateSubClass(@Valid SubClassUpdateVo subClassUpdateVo);

    ResultVo updateStatus(@Valid SubClassUpdateStatusVo subClassUpdateStatusVo);
//.工厂添加
    ResultVo addPlantClass(@Valid LegalPlantClassAddVo legalPlantClassAddVo);

}


